#header{
<title>!!$name!!</title>
<script src="/css_js/layui/layui.js" charset="utf-8"></script>
<link rel="stylesheet" href="/css_js/layui/layui.css" media="all"> }# #body{
	!{if $param==0}
<header class="am-header">
	<p class="layui-elem-quote">!!$name!!</</p>

</header>
<div id="main">


	<div style="padding: 20px; background-color: #F2F2F2;">
		<div class="layui-row layui-col-space15">
			<div class="layui-col-md15">
				<div class="layui-card">
					<!--<div class="layui-card-header"></div>-->
					<div class="layui-card-body">
					 <p class="tm"><span id="time">3</span>秒后关闭</p>
					</div>
				</div>
			</div>

		</div>
	</div>
	
</div>

!{else} 
<header class="am-header">
	<p class="layui-elem-quote">谢谢打赏！！！</</p>

</header>
<div id="main">


	<div style="padding: 20px; background-color: #F2F2F2;">
		<div class="layui-row layui-col-space15">
			<div class="layui-col-md6">
				<div class="layui-card">
					<div class="layui-card-header">感谢对本站的支持</div>
					<div class="layui-card-body">
						!!$msg!!
					</div>
				</div>
			</div>

		</div>
	</div>
	
</div>

!{/if}

}# #footer{
<script>
	
	var time = document.getElementById('time');
	function count(){
    if( +time.innerHTML > 0 ){
        time.innerHTML--;
    }else{
    open(location, '_self').close();
    }
}
setInterval(count , 1000);
</script>

}#